package com.moliku.insurance.model.dto.eastSea.check;

import com.moliku.insurance.model.dto.eastSea.submit.ESInsuredInfoDTO;
import com.moliku.insurance.model.entity.eastSea.check.PolicyCargo;
import com.moliku.insurance.model.entity.eastSea.check.PolicyClause;
import com.moliku.insurance.model.entity.eastSea.check.PolicyItemKind;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 七分
 * @version 1.0
 * @date 2021/3/16 11:43
 * @effect
 */
@Data
public class EaseSeaCheckDTO implements Serializable {

    @ApiModelProperty(value = "本地订单表中的ID值，仅用于投保时MQ标识的web处添加到表中的ID值", hidden = true)
    private Long localOrderId;

    @ApiModelProperty(value = "订单信息")
    private ESCheckOrderDTO orderDTO;

    @ApiModelProperty(value = "投保人")
    private ESCheckPolicyHolderDTO holderDTO;

    @ApiModelProperty(value = "被保人")
    private List<ESInsuredInfoDTO> insuredInfoDTOS;

    @ApiModelProperty(value = "货物信息")
    private List<PolicyCargo> policyCargo;

    @ApiModelProperty(value = "特别约定")
    private List<PolicyClause> policyClauseDto;

    @ApiModelProperty(value = "保险责任")
    private List<PolicyItemKind> policyItemKind;

}
